package com.x.provider.customer.model.domain.customer;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.x.core.domain.BaseEntity;
import lombok.*;

@Data
@EqualsAndHashCode(callSuper = false)
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("customer")
public class Customer extends BaseEntity {
  @TableId
  private Long id;
  @TableField("is_active")
  private Boolean active = true;
  @TableField("is_system_account")
  private Boolean systemAccount = false;
  private String userName;
}
